<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="string" uri="http://jakarta.apache.org/taglibs/string-1.1" %>
<%@ taglib uri="/WEB-INF/tlds/pagination.tld" prefix="pagination" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <title>Now Loading</title>
    <script type="text/javascript">
        function browsercheck(){
            var UserAgent=navigator.userAgent;
            if(UserAgent.match(/iPhone/) ){
                return "1";
            }
            else if(UserAgent.match(/Android/)){
                return "2";
            }else{
                return "3";
            }
        }

        function mobileNotice() {
            var TheForm = document.frm;
            TheForm.browserType.value = browsercheck();
            TheForm.title.value = "";
            TheForm.writer_id.value = "";
            TheForm.writer_nick_name.value = "";
            TheForm.content.value = "";

            TheForm.action = "/noticeBoardList.do";
            TheForm.submit();
        }

    </script>
</head>
<body bgcolor="#FFFF99" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="mobileNotice();">
<form name="frm" method="POST">
    <input type="hidden" name="title" value="">
    <input type="hidden" name="writer_id" value="">
    <input type="hidden" name="writer_nick_name" value="">
    <input type="hidden" name="content" value="">

    <input type="hidden" name="nextTarget" value="noticeBoardList">
    <input type="hidden" id="browserType" name="browserType" value=""/>
</form>

<div align="center">
    <div class="mainFrame" style="background-color: #55EE94;width:1024px;font-size: 11px;">
        <p><spring:message code="mobileNotice.text" /></p>
    </div>
</div>
</body>
</html>